import {Base} from "../../utils/base.js";

class Model extends Base{
  constructor(){
    super()
  }

  put(data,success,fail){
      this.request({
          url:'/calculation/put',
          data,
          type:'POST',
          success: function(res) {
            success&&success(res)
          },
          fail: function(res) {
              fail&&fail(res)
          }
      })
  }
}

const model =new Model();

export{model};